<template>
			<view :class="{'select-box': true,'checked': checked }">
				<image class="icon" v-if="checked" src="../../../static/img/checked.png" mode=""></image>
			</view>
</template>

<script setup>
	import { ref } from "vue"
	const props = defineProps({
		checked: {
			type: Boolean,
			default: false
		}
	});
	
	
</script>

<style lang="scss">
	.select-box{
		width: 40rpx;
		height: 40rpx;
		border-radius: 100rpx;
		overflow: hidden;
		border: 1px solid #cdcdcd;
		
		.icon{
			width: 40rpx;
			height: 40rpx;
		}
	}
	
	.select-box.checked{
		border-color: #fff;
	}
</style>
